package com.example.demo.config;

import com.example.demo.support.UserSig;
import com.example.demo.util.UserSigUtils;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class RTCOperations {

    private String sdkAppId;
    private String secret;



    public RTCOperations(String sdkAppId, String secret) {
        this.sdkAppId = sdkAppId;
        this.secret = secret;
    }

    public UserSig genUserSig(String user) {
        return UserSigUtils.genUserSig(this.sdkAppId, this.secret, user);
    }


}
